package com.lcke.demo.service;


import com.lcke.common.rest.PageUtil;
import com.lcke.demo.dao.NoticeDao;
import com.lcke.demo.entity.Notice;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class NoticeService {

    @Autowired
    private NoticeDao noticeDao;


    public List<Notice> list(Notice param) {
        PageUtil.startPage();
        return noticeDao.list(param);
    }
}
